cd "/Users/"


"maintext_data.dta"

*********************************************************************************************
*
*  Oster Sensitivity tests (Reproduces the results reported in table 19 of the appendix)
*
*********************************************************************************************


xtset dyad_m


xtreg make_claim_onset_f hegevolatility00 mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta hegevolatility00, rmax(0.06461)


xtreg make_claim_onset_f weighted_hege00 mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta weighted_hege00, rmax(.05837)


xtreg make_claim_onset_f perc_inflation mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta perc_inflation, rmax(.06383)



xtreg make_claim_onset_f weighted_intracon mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta weighted_intracon, rmax(.06786)


xtreg make_claim_onset_f weighted_GPwar  mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta weighted_GPwar, rmax(0.0741)


xtreg make_claim_onset_f perc_GPwar mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta perc_GPwar, rmax(.06669)



xtreg make_claim_onset_f GP_warterm mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta GP_warterm, rmax(.05785)



xtreg make_claim_onset_f weighted_GPwarterm mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta weighted_GPwarterm, rmax(.06409)


xtreg make_claim_onset_f num_newdyads mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta num_newdyads, rmax(.07956)



xtreg make_claim_onset_f num_secessions mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta num_secessions, rmax(.0598)


xtreg make_claim_onset_f proxywars_m mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta proxywars_m, rmax(.0598)


xtreg make_claim_onset_f GPallych_sys_M mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta GPallych_sys_M, rmax(.05772)


xtreg make_claim_onset_f pca_1 mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta pca_1, rmax(.07995)


xtreg make_claim_onset_f dw_pca mid5 i.nosettle defense both_democracy onsetyrs onsetyrs2 onsetyrs3 if majorpower_ch==0 & majorpower_ta==0 & globaldata==0, vce(robust) fe

psacalc beta dw_pca, rmax(.07579)

